package com.lulufind.lulu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lulufind.lulu.model.UserFollow;
import com.lulufind.lulu.vo.UserFollowInfoVO;

public interface UserFollowMapper {
	public int save(UserFollow userFollow);
	public int delete(UserFollow userFollow);

	public List<Integer> findFollowToId(@Param("followFromId")Integer followFromId);
	public List<UserFollowInfoVO> findUserFollowToInfoList(@Param("targetUserId") int targetUserId, @Param("start")int start, @Param("num")int num);
	public List<UserFollowInfoVO> findUserFollowFromInfoList(@Param("targetUserId") int targetUserId, @Param("start")int start, @Param("num")int num);
	public Integer checkId(@Param("followFromId")int followFromId, @Param("followToId")int followToId);
}
